import { ref } from 'vue'
import { ItemType } from "@/components/types/types"


const bill = ref<ItemType[]>([
  
  {
    label: '创建人',
    message: '请输入创建人',
    required: true,
    model: 'createBy',
    placeholder: '请输入',
    type: 'input'
  },
  {
    label: '状态',
    model: 'status',
    placeholder: '请选择',
    type: 'select',
    required: true,
    disabled: true,
    message: '请选择状态',
    selectData: []
  },
  {
    label: '创建时间',
    setTime: 'setTime',
    model: 'createTime',
    message: '请选择创建时间',
    placeholder: '选择创建时间',
    valueFormat: 'YYYY-MM-DD HH:mm:ss',
    required: true,
    type: 'beginTime',
    timeType: 'datetime',
  },
  {
    label: '评语',
    model: 'comment',
    span: 12,
    message: '请输入评语',
    required: true,
    placeholder: '请输入评语',
    type: 'textarea'
  },
])
interface Parmes {
  [propName: string]: any,
}
const datas = ref<Parmes>({

})
export default { bill, datas }